package com.hue.springbootsecurity.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 姚凤桥
 * @Date: 2022/5/21 10:10
 * @Description:
 */
@RestController
@RequestMapping("/user")
public class UserController {
    @GetMapping("/all")
    public String all() {
        return "所有用户信息";
    }

    @GetMapping("/update")
    public String update() {
        return "修改用户信息";
    }
}
